
#include "mainwindow.h"

void figure::moove()
{
    cout <<"Mooving a ";

}

void figure::show()
{
    cout <<"Showing a ";

}

void circle::moove()
{
    figure::moove();
    cout <<"circle";

}
void circle::show()
{
   figure::show();
    cout <<"circle";

}
void square::moove()
{
   figure::moove();
    cout <<"square";

}
void square::show()
{
    figure::show();
    cout <<"square";

}
